package org.jeecg.modules.param.fault.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 上报故障记录
 * @Author: 月月鸟
 * @Date:   2021-05-28
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_fault_submit对象", description="上报故障记录")
public class BikeFaultSubmit implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**故障号*/
	@Excel(name = "故障号", width = 15)
    @ApiModelProperty(value = "故障号")
    private java.lang.String code;
	/**所属网点*/
	@Excel(name = "所属网点", width = 15)
    @ApiModelProperty(value = "所属网点")
    private java.lang.String stationId;

	/**所属车桩*/
	@Excel(name = "所属车桩", width = 15)
    @ApiModelProperty(value = "所属车桩")
    private java.lang.String pileId;
	/**车辆*/
	@Excel(name = "车辆", width = 15)
    @ApiModelProperty(value = "车辆")
    private java.lang.String vehicleId;
	/**用户编码*/
	@Excel(name = "用户编码", width = 15)
    @ApiModelProperty(value = "用户编码")
    private java.lang.String userId;
	/**上报人员类型(1用户2员工)*/
	@Excel(name = "上报人员类型(1用户2员工)", width = 15, dicCode = "submit_user_type")
	@Dict(dicCode = "submit_user_type")
    @ApiModelProperty(value = "上报人员类型(1用户2员工)")
    private java.lang.String userType;
	/**故障类型(1还不了车2租不了车3网络故障4车辆损坏5车锁故障6需要保洁7其他问题)*/
	@Excel(name = "故障类型(1还不了车2租不了车3网络故障4车辆损坏5车锁故障6需要保洁7其他问题)", width = 15, dicCode = "fault_type")
	@Dict(dicCode = "fault_type")
    @ApiModelProperty(value = "故障类型(1还不了车2租不了车3网络故障4车辆损坏5车锁故障6需要保洁7其他问题)")
    private java.lang.String faultType  ;
	/**问题描述*/
	@Excel(name = "问题描述", width = 15)
    @ApiModelProperty(value = "问题描述")
    private java.lang.String content;
    /**是否派单 1是0否	*/
    @Excel(name = "是否派单", width = 15 ,dicCode = "yn")
    @ApiModelProperty(value = "是否派单")
    @Dict(dicCode = "yn")
    private java.lang.String isDispatch;
	/**转工单时间*/
	@Excel(name = "转工单时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "转工单时间")
    private java.util.Date dispatchTime;
    /**是否解决 */
    @Excel(name = "是否解决", width = 15,dicCode = "yn")
    @ApiModelProperty(value = "是否解决")
    @Dict(dicCode = "yn")
    private java.lang.String isSolve;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String memo;

    /**所属网点*/

    @TableField(exist = false)
    private java.lang.String[] stationArray;
}
